<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>展示pdf文件预览</title>
<%String path = request.getContextPath(); %>
<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.media.js"></script>
<script type="text/javascript">
   $(function () {
      $('#showpdf').media({width:800, height:600});

   })

</script>
</head>
<body>

       <a id="showpdf"  href="<%=path%>/fileupload/guice.pdf"></a>
        <div>
          
          获取的值是：
          ${pdfId}
        </div>
</body>
</html>